package loop;

public class endlessloop6 {
    public static void main(String[] args) {
        //for ( ; ; ) {
        /*for (int i = 0;  ; i++) {
            System.out.println("Hello World1");
        }*/
        while (true) {

            System.out.println("Hello World2");
        }
        /*do {
            System.out.println("Hello World3");
        }while (true);*/
    }

}
